package com.powergisol.gis.dao;

import com.powergisol.gis.entity.TabCoordinateSystem;
import com.powergisol.gis.entity.TabExcelMould;
import com.powergisol.gis.entity.TabMouldDetail;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface TabMouldMapper {

    TabExcelMould getByName(@Param("mouldName") String mouldName);

    void saveMould(TabExcelMould mould);

    void delMould(@Param("id")Integer id);

    void upMould(TabExcelMould mould);

    void saveMouldDetail(TabMouldDetail mouldDetail);

    List<TabExcelMould> listMould();

    List<TabMouldDetail> listByMouldId(@Param("mouldId") Integer mouldId);

    void delByMouldId(@Param("mouldId") Integer mouldId);

    List<TabCoordinateSystem> getCoorForm();

    void saveTabCoordinateSystem(TabCoordinateSystem system);

    TabCoordinateSystem getCoorByName(@Param("coorName") String coorName);

}
